package com.lvhaosb.newpneumonia.POJO.po;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 国外新冠疫情
 *
 * @author lvhao
 * @since 2020-06-21
 */
public class ForeignEpidemic implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主id
     */
    private Integer id;

    /**
     * 时间
     */
    private LocalDateTime time;

    /**
     * 国家id，关联到country.id
     */
    private Integer countryId;

    /**
     * 新增
     */
    private Integer newlyAdded;

    /**
     * 现有
     */
    private Integer existing;

    /**
     * 死亡
     */
    private Integer died;

    /**
     * 累计
     */
    private Integer cumulative;

    /**
     * 治愈
     */
    private Integer cure;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public LocalDateTime getTime() {
        return time;
    }

    public void setTime(LocalDateTime time) {
        this.time = time;
    }

    public Integer getCountryId() {
        return countryId;
    }

    public void setCountryId(Integer countryId) {
        this.countryId = countryId;
    }

    public Integer getNewlyAdded() {
        return newlyAdded;
    }

    public void setNewlyAdded(Integer newlyAdded) {
        this.newlyAdded = newlyAdded;
    }

    public Integer getExisting() {
        return existing;
    }

    public void setExisting(Integer existing) {
        this.existing = existing;
    }

    public Integer getDied() {
        return died;
    }

    public void setDied(Integer died) {
        this.died = died;
    }

    public Integer getCumulative() {
        return cumulative;
    }

    public void setCumulative(Integer cumulative) {
        this.cumulative = cumulative;
    }

    public Integer getCure() {
        return cure;
    }

    public void setCure(Integer cure) {
        this.cure = cure;
    }

    @Override
    public String toString() {
        return "ForeignEpidemic{" +
        "id=" + id +
        ", time=" + time +
        ", countryId=" + countryId +
        ", newlyAdded=" + newlyAdded +
        ", existing=" + existing +
        ", died=" + died +
        ", cumulative=" + cumulative +
        ", cure=" + cure +
        "}";
    }
}
